let d = new Date();
console.log(`1: ${d instanceof Date}`); // 1: true
console.log(`2: ${d instanceof Object}`); // 2: true
console.log(`3: ${d instanceof Number}`); // 3: false
let a = [1, 2, 3];
console.log(`4: ${a instanceof Array}`); // 4: true
console.log(`5: ${a instanceof Object}`); // 5: true
console.log(`6: ${a instanceof RegExp}`); // 6: false
console.log(`7: ${2 instanceof Object}`); // 7: false
// 3 instanceof 3; // 抛出 TypeError 异常
